var mainNavigation={}
mainNavigation.teacherNavigation=function (){
    $.post('teacher/tpage',null,function (view){
        $('.context').html(view)

    })
}
mainNavigation.studentNavigation=function (){
    $.post('student/studentMainPage.html',null,function (view){
        $('.context').html(view)
    })
}
mainNavigation.addTemplateNavigation=function (){
    $.post('template/addTemplate.html',null,function (view){
        $('.context').html(view)
        //动态模板的处理
        template.dynamic.templateResolve()
        //静态模板的处理
        template.static.computeRightScore()
    })
}
mainNavigation.templateList=function (){
    $.post('template/defaultTemplateList',null,function (view){
        $('.context').html(view)
    })
}
mainNavigation.examManageNavigation=function (){
    $.post('exam/mainPage.html',null,function (view){
        $('.context').html(view)
    })
}

